namespace 高校员工餐饮信息管理系统.Services
{
    /// <summary>
    /// 邮件服务接口
    /// </summary>
    public interface IEmailService
    {
        /// <summary>
        /// 发送密码重置邮件
        /// </summary>
        /// <param name="toEmail">收件人邮箱</param>
        /// <param name="resetLink">重置链接</param>
        /// <returns>是否成功</returns>
        Task<bool> SendPasswordResetEmailAsync(string toEmail, string resetLink);
        
        /// <summary>
        /// 发送通知邮件
        /// </summary>
        /// <param name="toEmail">收件人邮箱</param>
        /// <param name="subject">主题</param>
        /// <param name="body">内容</param>
        /// <returns>是否成功</returns>
        Task<bool> SendNotificationEmailAsync(string toEmail, string subject, string body);
    }
}

